Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

teex

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

teex

Turn a readable stream into multiple readable streamx streams

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
238K
decreased by-60.3%
Maintainers
1
Weekly downloads
 
Created
Source

teex

Turn a readable stream into multiple readable streamx streams.

npm install teex

Usage

const tee = require('teex')

// a, b are readable streams that are "clones"
// of someReadableStream. both streams need to
// be flowing, for someReadableStream to flow

const [a, b] = tee(someReadableStream)

API

const streams = tee(s, [howMany])

Split a readable stream into multiple streams. The howMany argument indicates how many streams to split into and defaults to 2.

License

MIT

FAQs

Package last updated on 12 Sep 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc